// 折线图
export const line = [
	{
		xAxis: [
			'08:00',
			'08:10',
			'08:20',
			'08:30',
			'08:40',
			'08:50',
			'09:00',
			'09:10',
			'09:20',
			'09:30',
			'09:40',
			'09:50',
			'10:00',
		],
		yAxis: {
			name: '订单数量',
		},
		series: [
			{
				name: '订单数量',
				data: [10, 15, 12, 8, 6, 10, 15, 12, 8, 6, 10, 15, 10],
			},
		],
		title: '南京南车站2025年4月10日8点到10点的订单数据',
		type: 'line',
		legend: {
			data: ['订单数量'],
		},
	},
]

// 柱状图
export const bar = [
	{
		data: [
			{
				custName: '张三',
				mobile: '13800138000',
				name: '订单1',
				value: 150,
			},
			{
				custName: '李四',
				mobile: '13900139000',
				name: '订单2',
				value: 200,
			},
			{
				custName: '王五',
				mobile: '13700137000',
				name: '订单3',
				value: 120,
			},
			{
				custName: '赵六',
				mobile: '13600136000',
				name: '订单4',
				value: 180,
			},
		],
		title: '南京南车站2025年4月10日8点到10点订单数量柱状图',
		xAxis: ['订单1', '订单2', '订单3', '订单4'],
		yAxis: [150, 200, 120, 180],
		series: [
			{
				name: '订单数量',
				type: 'bar',
				data: [150, 200, 120, 180],
			},
		],
		legend: {
			data: ['订单数量'],
		},
		type: 'bar',
	},
]

// 饼图
export const pie = [
	{
		title: '南京南车站2025年4月10日8点到10点订单数据',
		series: [
			{
				name: '订单类型',
				data: [
					{
						name: '食品',
						value: 3841.4,
					},
					{
						name: '茶饮',
						value: 70,
					},
					{
						name: '轻食',
						value: 15,
					},
					{
						name: '冰淇淋',
						value: 29,
					},
				],
			},
		],
		legend: {
			data: ['食品', '茶饮', '轻食', '冰淇淋'],
		},
		type: 'pie',
	},
]
